#include<bits/stdc++.h>
using namespace std;

int main(){
    int x;
    cin>>x;
    if(x >= 30) cout<<"Yes"<<endl;
    else cout<<"No"<<endl;
    return 0;
}